Log

@Serializable
data class Log(val message: String? = null, val level: Int? = null, val data: Map<String, JsonElement>? = null) : BaseModel

The object returned from the Pocketbase Log API.

Parameters

message

The message content of the log.

level

The log's level.

data

Additional log data about the given request which can differ depending on the type of log.

Constructors

Link copied to clipboard
constructor(message: String? = null, level: Int? = null, data: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
val data: Map<String, JsonElement>? = null
Link copied to clipboard
open val id: String? = null
Link copied to clipboard
val level: Int? = null
Link copied to clipboard
val message: String? = null